* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  height: 100%;
  font-size: 14px;
}
body {
  height: 100%;
  color: #333;
  min-width: 1240px;
  font: 1em/1.4 'Microsoft Yahei', 'PingFang SC', 'Avenir', 'Segoe UI', 'Hiragino Sans GB', 'STHeiti', 'Microsoft Sans Serif', 'WenQuanYi Micro Hei', sans-serif;
}
ul,
h1,
h3,
h4,
p,
dl,
dd {
  padding: 0;
  margin: 0;
}
a {
  text-decoration: none;
  color: #333;
  outline: none;
}
i {
  font-style: normal;
}
input[type="text"],
input[type="password"],
input[type="search"],
input[type="checkbox"] {
  padding: 0;
  outline: none;
  border: none;
  /* 兼容firefox和chrome */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  /* input::placeholder */
}
input[type="text"]::placeholder,
input[type="password"]::placeholder,
input[type="search"]::placeholder,
input[type="checkbox"]::placeholder {
  color: #ccc;
}
img {
  max-width: 100%;
  max-height: 100%;
  vertical-align: middle;
}
ul {
  list-style: none;
}
#app {
  background-color: #f5f5f5;
  /* user-select 控制用户的文本选择  none:无法选中*/
  user-select: none;
}
.container {
  width: 1240px;
  margin: 0 auto;
  position: relative;
}
.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  /*  */
  white-space: nowrap;
}
.ellipsis-2 {
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  /* 指定快容器的行数为2行 */
  -webkit-line-clamp: 2;
  word-break: break-all;
}
.clearfix:after {
  content: '.';
  display: block;
  clear: both;
  visibility: hidden;
  height: 0;
  line-height: 0;
}
.clearfix {
  zoom: 1;
}
.fl {
  float: left;
}
.fr {
  float: right;
}
.fade-leave-active {
  position: absolute;
  width: 100%;
  transition: opacity 0.5s 0.2s;
  z-index: 1;
}
.fade-leave-to {
  opacity: 0;
}
.fade-right-enter-to,
.fade-right-leave-from {
  opacity: 1;
  transform: none;
}
.fade-right-enter-active,
.fade-right-leave-active {
  transition: all 0.5s;
}
.fade-right-enter-from,
.fade-right-leave-to {
  opacity: 0;
  transform: translate3d(20px, 0, 0);
}
